var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var NewSchema = new mongoose.Schema({
    title:String,
    content:String,
});
NewSchema.plugin(mongoosePaginate);

module.exports = mongoose.model('News',  NewSchema); // Model.paginate()

